<?php
/* @var $this AttModController */
/* @var $model AttMod */

$this->breadcrumbs=array(
	'综合控制台'=>array($this->pre_module_url.'/index/index'),
	'产品管理'=>array($this->pre_module_url.'/productSale/admin'),
	'属性模型'=>array($this->pre_module_url.'/attMod/admin'),
);


?>
<div class="pro_filter c_f">
	<div class="filter f_l">
		<?php $form=$this->beginWidget('CActiveForm', array(
			'id'=>'att-mod-form',
			'enableAjaxValidation'=>false,
		)); ?>
			<label>模型名称</label> 
			<?php echo $form->textField($model,'zmd_title',array('class'=>'t_ipt w_250')); ?>
			<?php echo CHtml::submitButton(Yii::t('adm','Search'),array('class'=>'mem_bgx mem_btn01 mr20'))?>
			<?php //echo CHtml::linkbtn('创建分类模型',array('create'))?>
		<?php $this->endWidget(); ?>
	</div>
</div>
<table class="list_table list_table2" cellpadding="0" cellspacing="0" width="100%">
	<tr>
		<th width="" class="pl15">模板名称</th>
		<th width="20%">属性</th>
		<th width="50%">规格</th>
		<th width="15%">操作</th>
	</tr>
</table>

<?php   
$this->widget('zii.widgets.CListView', array(
    'dataProvider'=>$model->search(),  
    'itemView'=>'_view',
    'selectAll'=>array('ids[]','id[]'),  
	'itemsTagName'=>'table',
	'itemsOptions'=>array('class'=>'list_table list_table2','width'=>'100%','cellpadding'=>0,'cellspacing'=>0),
    'artLink'=>array(  
        //批量删除
        array(Yii::t('adm','Delete All'),$this->pre_module_url.'/attMod/delete','确认删除选中选项！'),  
    ),  
    'batchItem'=>array(  
        //创建模板
        CHtml::linkbtn('创建分类模型',array('create')),  
	),  
    ));  
?> 
